<?php
require_once "lib/Smarty/Smarty.class.php";

class SmartyBuilder{

	public static function build(){
		$smarty = new Smarty();
		$smarty->template_dir = 'smarty/templates';
		$smarty->compile_dir = 'smarty/templates_c';
		$smarty->cache_dir = 'smarty/cache';
		$smarty->config_dir = 'smarty/configs';
		
		return $smarty;
	}
}
?>
